package com.song.redis;

import redis.clients.jedis.Jedis;

public class RedisClient {

    public static void main(String[] args) {


        Jedis jedis = new Jedis("127.0.0.1",6379);
        jedis.auth("redisroot");
        jedis.set("song","dsadadasdsa");
        System.out.println(jedis.get("song"));

    }


}
